using QiAdmin.Core;
using QiAdmin.Entity;
using QiAdmin.Model.Dtos.Input;
using QiAdmin.Model.Dtos.Output;
using QiAdmin.Model.System.Models;

namespace QiAdmin.Service.IService
{
    /// <summary>
    /// TSysDept Interface Service
    /// </summary>
    public interface ITSysDeptService : IBaseService<TSysDept, TSysDept_IN, TSysDept_OUT>
    {
        CommonResult<List<TreeDept>> GetDepts(TSysDept_IN input);
        CommonResult RemoveDept(TSysDept_IN input);

        CommonResult<List<TSysDept_OUT>> GetDeptCache();
        CommonResult AddDeptCache();
    }
}